// ignore_for_file: strict_raw_type

import 'package:auto_route/auto_route.dart';
import 'package:convergence_media/features/config/logger/logger.dart';
import 'package:flutter/material.dart';

class AppRouterObserver extends AutoRouterObserver {
  @override
  void didPush(Route route, Route? previousRoute) {
    logger.t('[AppRouterObserver.didPush]: '
        '${previousRoute?.settings.name} -> ${route.settings.name}');
    super.didPush(route, previousRoute);
  }
}
